package com.sh.caryr.erp.service;

import com.baomidou.mybatisplus.service.IService;
import com.sh.caryr.erp.entity.trade.Order;

import java.util.List;

public interface IOrderService extends IService<Order> {

    Order getOrderDetailById(Long id);

    List<Order> getOrderDetailByIds(List<Long> ids);

    void getOrderDetail(Order order);

    void insertOrderSkuAmount(Order order);

    void insertOrUpdateOrder(Order order) throws Exception;

    void updateOrderBatch(List<Order> orders) throws Exception;

    void deleteOrderById(List<Long> ids);

    void insertOrdersFromExcel(List<Order> orderList) throws Exception;

    List<Order> getOrderByUpdate(List<Order> tradesFromClient);
}
